<me:UIVKPOS x:Class="WPFExcelReport.UVKPQTY"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                 xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                  xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                   x:Name="TV"
                    Loaded="Window_Loaded"
                    Background="White"   
      >
    <me:UIVKPOS.Resources>
        <CollectionViewSource  x:Key="vwMaster"  />
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby10000  x:Key="dw"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:PreisConverter  x:Key="price"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVKPOS.Resources>
    <StackPanel>
        <WrapPanel>
            <Grid Visibility="{Binding IsPrice,ElementName=TV,Converter={StaticResource bv}}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0"  Text="{Binding Source={Localization:Translate Word=单价}}"/>
                <TextBlock Grid.Column="1" 
                           Text="{Binding VKPPREIS,Converter={StaticResource price}}" 
                                    Width="80"/>
            </Grid>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=数量}}"/>
                <TextBlock Name="txtQty" Grid.Column="1"   
                           Text="{Binding VKPMENGE1,Converter={StaticResource d100}}"     Width="80"/>
                <TextBlock Grid.Column="2"   
                       Text="{Binding VKPMEEH}" Width="Auto"/>
               
            </Grid>
            <Grid Visibility="{Binding IsPrice,ElementName=TV,Converter={StaticResource bv}}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=金额}}"/>
                <TextBlock Grid.Column="1"  Text="{Binding VKPPOSWERT}" Width="80"/>
            </Grid> 
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0"  Text="{Binding Source={Localization:Translate Word=交期}}"/>
                <TextBlock Grid.Column="1"  
                                   Text="{Binding VKPLIEFTERM}" 
                                 Width="120"/>
            </Grid>
            <Grid Visibility="{Binding IsPrice,ElementName=TV,Converter={StaticResource bv}}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0"  Text="{Binding Source={Localization:Translate Word=短/溢}}"/>
                <TextBlock Grid.Column="1" Text="{Binding VKPZUSATZ,Converter={StaticResource gb2312}}" 
                                      Width="120"/>
            </Grid>
        </WrapPanel>
    </StackPanel>
   
</me:UIVKPOS>
